package com.guigu.www.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.util.List;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * <p>
 *
 * </p>
 *
 * @author DengHao
 * @since 2021-10-31
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
// @ApiModel(value="ChatTable对象", description="")
public class ChatTable implements Serializable {

    private static final long serialVersionUID=1L;

    // @ApiModelProperty(value = "咨询总表ID")
    @TableId(value = "chat_ta_id", type = IdType.AUTO)
    private Integer chatTaId;

    // @ApiModelProperty(value = "显示状态（0,咨询列表;1,历史列表）")
    private Integer chatTaState;

    // @ApiModelProperty(value = "健康管理师ID")
    private Integer hmId;

    // @ApiModelProperty(value = "会员ID")
    private Integer memId;

    // @ApiModelProperty(value = "聊天创建时间")
    private String chatTaCreateTime;

    // 邓浩添加 会员对象
    @TableField(exist = false)
    private Member member;

    // 邓浩添加 健康师对象
    @TableField(exist = false)
    private HealthManager healthManager;

    // 邓浩添加 咨询内容集合
    @TableField(exist = false)
    private List<ConsultMessages> messagesList;

    // 邓浩添加 未查看记录数
    @TableField(exist = false)
    private Integer noWatchCount;
}
